using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("DeckRule_HasTagValue")]
	public class DeckRule_HasTagValue : DeckRule
	{
		public DeckRule_HasTagValue(IntPtr address, string className)
			: base(address, className)
		{
		}

		public DeckRule_HasTagValue(IntPtr address)
			: this(address, "DeckRule_HasTagValue")
		{
		}

		public static bool CardHasTagValue(int tagValue, int max, int min)
		{
			return MonoClass.smethod_14<bool>(TritonHs.MainAssemblyPath, "", "DeckRule_HasTagValue", "CardHasTagValue", new object[3] { tagValue, max, min });
		}

		public new bool Filter(EntityDef def)
		{
			return method_11<bool>("Filter", new object[1] { def });
		}
	}
}
